<!DOCTYPE html>
<script src="resources/responsive-test.js"></script>
<script>
assertSVGResponsive({
  targetTag: 'feFuncG',
  property: 'tableValues',
  getter(target) {
    return Array.from(target.tableValues.animVal).map(number => number.value).join(', ');
  },
  from: neutralKeyframe,
  to: '10, 20',
  configurations: [{
    state: {underlying: '50, 60'},
    expect: [
      {at: 0.25, is: '40, 50'},
      {at: 0.75, is: '20, 30'},
    ],
  }, {
    state: {underlying: '50, 60, 80'},
    expect: [
      {at: 0.25, is: '50, 60, 80'},
      // TODO(dbaron): This is suspicious!
      {at: 0.75, is: '10, 20, 0'},
    ],
  }],
});
</script>
